package com.jltx.storage.downloader;

import androidx.annotation.IntDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

import static com.jltx.storage.downloader.RequestStatus.STATUS_FAIL;
import static com.jltx.storage.downloader.RequestStatus.STATUS_LOADING;
import static com.jltx.storage.downloader.RequestStatus.STATUS_SUCCESS;

/**
 * @author jltxseo
 * Created by junlintianxia on 2019/12/04.
 */
@Retention(RetentionPolicy.SOURCE)
@IntDef({STATUS_LOADING, STATUS_SUCCESS, STATUS_FAIL})
public @interface RequestStatus {
    int STATUS_LOADING = 0;
    int STATUS_SUCCESS = 1;
    int STATUS_FAIL = 2;
}
